package cn.com.wdjedu.androidapp.wjeduandroid.mvp.main;

import java.util.Map;

import cn.com.wdjedu.androidapp.wjeduandroid.support.lib.mvputils.HttpManager;
import cn.com.wdjedu.androidapp.wjeduandroid.ui.mainfragment.MainBean;
import retrofit2.http.QueryMap;
import rx.Observable;

/**
 * 主页面的DAO
 */

public class MainDao implements MainService {
    @Override
    public Observable<MainBean> queryMainData(@QueryMap Map<String, String> params) {
        return HttpManager.getInstance().create(MainService.class).queryMainData(params);
    }
}
